<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>游戏主界面</title>
  <script src='http://localhost:3038/socket.io/socket.io.js'></script>
</head>
<body>
  欢迎来到游戏界面！
  <h1></h1>
  <div class="pokers"></div>
  <script>
    var socket = io('ws://localhost:3038');
    var h1 = document.querySelector("h1");
    var pokers = document.querySelector('.pokers');

    socket.on('licensing',data=>{
      console.log(data);
    })

    console.log(123444);

  </script>
</body>
</html>